package com.whfc.fse.dao;

import com.whfc.fse.entity.FseWarnRuleChannel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FseWarnRuleChannelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(FseWarnRuleChannel record);

    int insertSelective(FseWarnRuleChannel record);

    FseWarnRuleChannel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FseWarnRuleChannel record);

    int updateByPrimaryKey(FseWarnRuleChannel record);

    List<Integer> selectByRuleId(@Param("ruleId") Integer ruleId);

    void deleteLogicByRuleId(@Param("ruleId") Integer ruleId);

    void batchInsert(@Param("list") List<FseWarnRuleChannel> fseWarnRuleChannelList);
}